<?php

/**
 *  @FileComment            [商品详细页模型]
 *  @ProjectName             项目名称：shopFrame
 *  @FileName                   文件名称：GoodsDetailModel.class.php
 *  @Author                       yuerengui <596580041@qq.com>
 *  @Date                          2014-10-12 21:45:36
 *  *
 */
class GoodsDetailModel extends Model {

        public $table = 'goodsdetail';

        public function get_one_data($gid) {
                return $this->where(array('goods_gid' => $gid))->find();
        }

}
